package com.china.produce.service.impl;

import com.china.produce.mapper.studyProd.ChoiceMapper;
import com.china.produce.pojo.Choice;
import com.china.produce.service.ChoiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2023/2/7
 */
@Service
public class ChoiceServiceImpl implements ChoiceService {

    @Resource
    private ChoiceMapper choiceMapper;

    @Override
    public List<Choice> queryUserByName() {

        return choiceMapper.getInfo();
    }
}
